/**
 * Created by Administrator on 2018/7/29.
 */
module  GameData{


    export var stageW:number = 750;
    export var stageH:number = 1334;
    export var rule:any = undefined; // 帮助文案

    export var colorArray = [
        0xEDDD08,0x43DD3F,0XFD72B1,0X05E6FE,0XFFFFFF,0x38DDAB,0x378EEE
    ];

    export var rotateSpeed:number;
    export var hasBeginning = true;
    export var tvmid = '';
    export var token = '';
    export var nickname:string = '你自己';
    export var personalRank:any = null;
    export var gangRank:any = null;
    export var resetSeed:number = 0;
    export var maxScore:number = 0;
    export var lefTime:number = 0;
    export var share_reset_count = 0; // 剩余分享重置机会次数
    export var video_reset_count = 0; // 剩余看视频重置机会次数
    export function initData() {
        GameData.stageW = egret.MainContext.instance.stage.stageWidth;
        GameData.stageH = egret.MainContext.instance.stage.stageHeight;

        GameData.rotateSpeed = config.rotate_speed;
    }

    export var is_tiyan:boolean = false;

}